; Written By Bruce Steers <FixBackdrop@brucesteers.com>
; Description: Installer for Fix.Backdrop/awnp-handler
(set srcdir (pathonly @icon))
(welcome "Welcome to Bruces\nFix.Backdrop 1.4 Installation Utility")
;------------------install/update the AWNPipe-handler-----------------
(set lv (getversion "l:awnpipe-handler"))
(set nv (getversion "awnp/l/awnpipe-handler"))
(if (> nv lv)
(copylib
(source "awnp/l/awnpipe-handler")
(dest "l:")
(prompt "Installing AWNPipe-handler")
(help "This Will Install AWNPipe-handler to L:")
(confirm)
)
(copylib
(dest "Devs:dosdrivers")
(source "awnp/DosDrivers/awnpipe")
(prompt "Installing AWebNews Pipe:")
(help "This Will Install the AWNPipe Descriptor File to Devs:DosDrivers")
(infos)
)
(run "C:assign AWNPipe: dismount")
(run "C:mount AWNPipe:")
)
(set defdst
(copyfiles
(source "Fix.backdrop")
(dest "sys:tools")
(prompt "Select a drawer to install the Fix.Backdrop arexx script to.\nDefault is sys:tools/")
(help @copyfiles-help)
(confirm)
(infos)
))
(copyfiles
(source "Fix.backdrop.readme")
(dest defdst)
(prompt "Select a drawer to install the Fix.Backdrop.Readme to.\nDefault is "defdst"")
(help @copyfiles-help)
(infos)
(confirm)
)
(copyfiles
(source "c/OpenURL")
(dest "C:")
(prompt "Select a drawer to install the command OpenURL to.\nOpenURL is a command to use OpenURL.library functions\nDefault should be C:\nThis is not Essential but allows you to use the menus to send email/goto urls")